package com.iemp.exception.entity.universal;

import com.iemp.exception.entity.base.AbstractStateException;
import com.iemp.config.consts.StateConsts;

public class CustomNotFoundException extends AbstractStateException {

    public CustomNotFoundException(String message) {
        super(message);
        this.state = StateConsts.NOT_FOUND;
    }

    public CustomNotFoundException(Class<?> clazz, Integer id) {
        super(clazz.getSimpleName() + " " + id + " not found");
        this.state = StateConsts.NOT_FOUND;
    }

    public CustomNotFoundException() {
        super("Not found");
    }
}
